// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import '@/assets/css/border.css'
import '@/assets/css/reset.css'
import '@/assets/iconfont/iconfont.css'
import VueAwesomeSwiper from 'vue-awesome-swiper'
 
// require styles
import 'swiper/dist/css/swiper.css'
 
Vue.use(VueAwesomeSwiper)

Vue.config.productionTip = false
// html font-size是一个响应式数值
var clwidth=document.body.clientWidth||document.documentElement.clientWidth;
var htmldom=document.getElementsByTagName('html')[0];
htmldom.style.fontSize=Math.ceil(clwidth*0.13)+'px';
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})

